public class Java {
    public static void main(String[]args){
        Student student = new Student("小明", 16);
        student.show();
        UnderGraduate underGraduate = new UnderGraduate("小红", 20, "学士");
        underGraduate.show();
    }
}
